GtkHeaderBar: don't show dangling separators
authorMatthias Clasen <mclasen@redhat.com>
Fri, 13 Dec 2013 05:47:35 +0000 (00:47 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Fri, 13 Dec 2013 06:02:36 +0000 (01:02 -0500)
commita33e5748db44fc9f73e6411082a7a6ff7abaab08
tree15a86cbcd70a6df989881cd5f0bb16b3a6594dbe
parentdc073b8020c7b9be5dc6d3935f06c9f633d27396
GtkHeaderBar: don't show dangling separators

If we don't have a window icon, we hide the titlebar_icon,
we still add it, so we can't simply go by the number of
children when deciding whether to show the separator or
now. Instead, update the separator visibility as we create
the various buttons.
gtk/gtkheaderbar.c